package com.karl.mytask_2.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.TextView;

import com.karl.mytask_2.R;
import com.karl.mytask_2.tools.BaseActivity;

/**
 * Created by Karl on 2016/5/21.
 */
public class ResetSuccessActivity extends BaseActivity implements View.OnClickListener {
    private TextView mTitle;
    private ImageButton mBack;
    private Button mBackToLogin;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.reset_successed);
        mTitle = (TextView) findViewById(R.id.tool_bar2_title);
        mBack = (ImageButton) findViewById(R.id.tool_bar2_back);
        mBackToLogin = (Button) findViewById(R.id.back_to_login);

        mTitle.setText("发送成功");
        mBackToLogin.setOnClickListener(this);
        mBack.setOnClickListener(this);


    }

    @Override
    public void onClick(View v) {
       ResetSuccessActivity.this.finish();
    }
}
